/*
 * @Author: your name
 * @Date: 2021-12-16 17:23:49
 * @LastEditTime: 2021-12-16 17:32:22
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \first_one_file\react-travel\src\components\carousel\carousel.tsx
 */
import React from 'react';
import styles from './carousel.module.css';
import {
  Image,
  Carousel as AntCarousel
} from 'antd';

import carouselImage1 from "../../assets/images/carousel_1.jpg";
import carouselImage2 from "../../assets/images/carousel_2.jpg";
import carouselImage3 from "../../assets/images/carousel_3.jpg";

export const Carousel : React.FC = () => {
  return <AntCarousel autoplay>
    <Image src={carouselImage1} />
    <Image src={carouselImage2} />
    <Image src={carouselImage3} />
  </AntCarousel>
}